/*
 * $Id: IDecorationNotifier.java 23 2002-09-29 13:59:30Z bpruessmann $
 * 
 * Copyright (c) 2001 Boris Pruessmann and others.
 * All rights reserved.   This program and the accompanying materials
 * are made available under the terms of the Common Public License v0.5
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v05.html
 * 
 * Contributors:
 *    Boris Pruessmann - Initial implementation.
 */
package net.sourceforge.p4eclipse.ui;

import org.eclipse.core.resources.IResource;

/**
  * @version 	$Revision: 23 $
  * @author		<a href="mailto:bpruessmann@users.sourceforge.net">Boris Pruessmann</a>
  */
interface IDecorationNotifier
{
	/**
	  * Answers the next resource that needs decorating.
	  */
	public IResource next();
	
	/**
	  * Called to associate a decoration to a resource.
	  */
	public void decorated(IResource[] resource, PerforceDecoration[] decoration);
	
	/**
	  * Number of resources remaining to be decorated
	  */
	public int remaining();
}


